﻿// -----------------------------------------------------------------------
// <copyright file="RevisionRevisionAttachment_BLL.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace PMSGSC.BLL
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using PMSGSC.DAL;

    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    public class RevisionAttachment_BLL
    {
        public static List<RevisionAttachment> GetAll(int shipID)
        {
            return RevisionAttachment_DAL.GetAll(shipID);
        }
        public static bool Insert(RevisionAttachment RevisionAttachment)
        {
            return RevisionAttachment_DAL.Insert(RevisionAttachment);
        }
        public static RevisionAttachment GetDataById(int id)
        {
            return RevisionAttachment_DAL.GetDataById(id);
        }
        public static bool Update(RevisionAttachment RevisionAttachment)
        {
            return RevisionAttachment_DAL.Update(RevisionAttachment);
        }
        public static bool Delete(RevisionAttachment RevisionAttachment)
        {
            return RevisionAttachment_DAL.Delete(RevisionAttachment);
        }
        public static bool IsExits(RevisionAttachment RevisionAttachment)
        {
            return RevisionAttachment_DAL.IsExits(RevisionAttachment);
        }
        public static List<RevisionAttachment> GetDataByRevisionID(int id, bool isChanged)
        {
            return RevisionAttachment_DAL.GetDataByRevisionID(id, isChanged);
        }
    
    }
}
